package com.haloer.data
{
	public class OObject
	{
		public function OObject()
		{
		}
		
		public static function list(valueArr:Array, obj:Object, keyArr:Array) : void
		{
			if (!valueArr || !keyArr)
			{
				throw new Error("list方法的第一个和第三个参数不能为null或undefined！");
			}
			var len :uint = keyArr.length;
			var i :uint = 0;
			while (i < len)
			{
				obj[keyArr[i]] = valueArr[i];
				i++;
			}
		}
	}
}